package com.ztgf.order.models.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 订单表SaveBO
 *
 * @author chenyu.wang
 * @Date 2020-06-03 15:32:26
 */
@Data
public class OrderInfoSaveBO implements Serializable {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "支付方式")
    private Integer payType;

    @ApiModelProperty(value = "配送方式")
    private Integer deliveryType;

    @ApiModelProperty(value = "商品件数")
    private Integer totalNum;

    @ApiModelProperty(value = "商品总价")
    private BigDecimal totalMoney;

    @ApiModelProperty(value = "店铺优惠")
    private BigDecimal discountMoney;

    @ApiModelProperty(value = "应付总额")
    private BigDecimal actualMoney;

    @ApiModelProperty(value = "运费")
    private BigDecimal freightMoney;

    @ApiModelProperty(value = "收货人")
    private String userName;

    @ApiModelProperty(value = "收货人电话")
    private String userMobile;

    @ApiModelProperty(value = "收货人地址")
    private String userAddress;

    @ApiModelProperty(value = "卖家店铺id")
    private Long sellShopId;

    @ApiModelProperty(value = "买家店铺id")
    private Long buyShopId;

    @ApiModelProperty(value = "类型;0普通、1询价")
    private Integer type;

    @ApiModelProperty(value = "订单备注")
    private String orderNote;
}